﻿using System;
using System.Collections.Generic;
using System.Text;
using System.Web.Services;
using System.Web.Services.Protocols;
using System.ComponentModel;

namespace FileUpManage
{
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.ComponentModel.DesignerCategoryAttribute("code")]
    [System.Web.Services.WebServiceBindingAttribute(Name = "TRY", Namespace = "http://tempuri.org/")]
    public class WebLoginClient : SoapHttpClientProtocol
    {
        public WebLoginClient()
        {
            this.Url = "http://218.6.160.126:9888/Wbserver/Login.asmx";
            //this.Url = "http://192.168.137.80/Wbserver/Login.asmx";
        }

        [SoapDocumentMethod("http://tempuri.org/UserLogin")]
        public string[] UserLogin(string srtUserName, string strPW)
        {
            object[] results = base.Invoke("UserLogin", new object[] { srtUserName, strPW });
            return (string[])results[0];
        }
    }
}
